class CreateImages < ActiveRecord::Migration
  def self.up
    create_table :images do |t|
      t.column "path", :string, :default => "", :null => false
      t.column "description", :string, :default => ""
      t.column "created_on", :datetime, :null => false
      t.column "updated_on", :datetime, :null => false 
    end
  end

  def self.down
    drop_table :images
  end
end
